package eu.szemraj.display.ui.scroller {
	import flash.events.Event;

	/**
	 * @author sema
	 */
	public class ScrollerEvent extends Event {
		
		public static const SCROLL:String = "scroll";
		public var scrollPercentage:Number;

		public function ScrollerEvent( scrollPercentage:Number, bubbles:Boolean = true, cancelable:Boolean = false) {
			
			super( SCROLL, bubbles, cancelable );
			this.scrollPercentage = scrollPercentage;
		}

		override public function clone():Event {
			
			return new ScrollerEvent(scrollPercentage, bubbles, cancelable );
		}
	}
}
